package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.entity.Menu;
import com.common.domain.entity.ResponseResult;
import com.common.domain.vo.MenuVo;
import com.common.domain.entity.Menu;
import com.common.domain.entity.ResponseResult;
import com.common.domain.vo.MenuVo;

import java.util.List;

/**
* @author pc
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Service
* @createDate 2023-02-07 12:19:15
*/
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long userId);


    List<MenuVo> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult menuList(String status, String menuName);

    ResponseResult InsertList(Menu menu);

    ResponseResult getMenu(Long id);

    ResponseResult updateMenu(Menu menu);

    ResponseResult deleteMenu(Long menuId);
}
